package google.sites.view.dialogs;

import dev.tools.view.dialogs.ConfirmDialog;
import google.sites.model.commands.webpage.DeleteWebPage;
import google.sites.view.Tree;
import google.sites.view.View;

/**
 * Created with IntelliJ IDEA.
 * User: Nuno
 * Date: 05-10-2013
 * Time: 18:00
 */
public class DeleteWebPageDialog extends ConfirmDialog<DeleteWebPage> {
    public DeleteWebPageDialog(final Tree.Node node) {
        super(View.INSTANCE, new DeleteWebPage(node.getEntry()));
    }
}
